package com.example.studentdemo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Subject {

  private Integer id;
  private String name;
  private String max;
  private Integer teacherId;

  private String teacherName;
}
